<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #btn {
            width: 50px;
            height: 40px;
        }
        
        #btn {
            margin-top: 20px;
            margin-left: 400px;
        }
        
        #result {
            font-size: 20px;
            text-align: center;
        }
    </style>
</head>

<body>
    <button id="btn">开始</button>
    <span id="result">0</span>
    <script>
        const btn = document.getElementById("btn");
        const result = document.getElementById("result");
        const timer = {
            time: 0,
            sath


        }
        timer.start();
    </script>
</body>

</html>